import 'dart:convert';
import 'package:riverpod_demo/generated/json/base/json_field.dart';
import 'package:riverpod_demo/generated/json/mine_model.g.dart';

@JsonSerializable()
class MineModel {
  List? feeds;
  int? show_times;
  MineModel();

  factory MineModel.fromJson(Map<String, dynamic> json) => $MineModelFromJson(json);

  Map<String, dynamic> toJson() => $MineModelToJson(this);

  @override
  String toString() {
    return jsonEncode(this);
  }
}

